]> dgit.raspbian.org Git - gnome-shell.git/commit
messageTray: Default to generic policy
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 22 Oct 2020 18:11:14 +0000 (20:11 +0200)
committerMarge Bot <marge-bot@gnome.org>
Tue, 1 Dec 2020 20:02:02 +0000 (20:02 +0000)
commit595359afa5756f0871b19e7ffa7b2a462b75b05b
tree36b462064c1d39b8df89f970191c48fa15d34ebf
parent4863c498b29173a7284c60a51b8854b2d2da55e8
messageTray: Default to generic policy

How and if notifications are shown is controlled by NotificationPolicy
objects. But ever since 098bd45, only notification daemon sources or
notifications associated with an app are hooked up to GSettings.

The hardcoded default policy for built-in notifications (including
those provided by extensions) arguably made sense back then, but
now that the main setting has been rebranded as "Do Not Disturb"
and is exposed prominently in the calendar drop-down, following
GSettings is a better default.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3291

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1511>
js/ui/messageTray.js